# -*- coding: utf-8 -*-
# @Time        :2025/7/28 下午5:54
# @Author      :文刀水寿
# @File        : threading、.py
"""
 @Description :
"""
import threading

i = 0


def print_numbers():
    global i
    for i in range(1, 6):
        print(i)


# 创建线程
t = threading.Thread(target=print_numbers)

# 启动线程
t.start()
if i > 1:
    t.join()

# 主线程继续执行其他任务
print(i)
